package com.fr.base.core.antlr;

public class DefaultFileLineFormatter extends FileLineFormatter
{
  public String getFormatString(String paramString, int paramInt1, int paramInt2)
  {
    StringBuffer localStringBuffer = new StringBuffer();
    if (paramString != null)
      localStringBuffer.append(paramString + ":");
    if (paramInt1 != -1)
    {
      if (paramString == null)
        localStringBuffer.append("line ");
      localStringBuffer.append(paramInt1);
      if (paramInt2 != -1)
        localStringBuffer.append(":" + paramInt2);
      localStringBuffer.append(":");
    }
    localStringBuffer.append(" ");
    return localStringBuffer.toString();
  }
}